﻿@model IEnumerable<Common.Category>

<div class="CategoriesDiv">
<h3>Filter Products</h3>
<ul class="CategoriesMenu">
<li style="list-style: none;">
@foreach (var item in Model) 
{
    <a style="padding: .2em 1em;">@Html.ActionLink(item.Name, "Category", new { id = item.ID })</a>
}
</li>
</ul>

<div class="CenterizeDiv">

@Html.Action("_SearchProductByName", "Partial")
<br/>
@Html.ActionLink("Filter by Date Listed","DateListed") | @Html.ActionLink("Filter by Price (Ascending)", "PriceAscending") | @Html.ActionLink("Filter by Price (Descending)", "PriceDescending")
<br/>
</div>
</div>
